<?php
/**
 * Created by PhpStorm.
 * User: zhangxilu
 * Date: 2017/12/21
 * Time: 下午9:21
 */

namespace common\logic;


use common\models\BaseHouseTypeModel;
use yii\db\ActiveQuery;

class HouseTypeLogic extends Logic
{

    /**
     * @return ActiveQuery
     */
    protected function _getActiveQuery()
    {
        return BaseHouseTypeModel::find();
    }


    /**
     * @return array|BaseHouseTypeModel[]
     */
    public function getAll()
    {
        return $this->_all();
    }

}